package org.lee.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.lee.bean.Order;

@Mapper
public interface OrderMapper {
    int deleteByPrimaryKey(@Param("orderId") Long orderId, @Param("userId") Integer userId);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(@Param("orderId") Long orderId, @Param("userId") Integer userId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
}